home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / macabuse / inc / netstat.hpp < prev    next >
C/C++ Source or Header  |  1997-05-20  |  709b  |  38 lines

  1. #ifndef NETSTAT
  2. #define NETSTAT
  3.  
  4.  
  5. #include "status.hpp"
  6. #include "palette.hpp"
  7. class net_status_node;
  8.  
  9. class net_status_manager : public status_manager
  10. {
  11.   int last_update,xp,yp;
  12.   palette *old_pal;
  13.   net_status_node *first;
  14.   int level,last_level,last_percent,first_percent;
  15.   char *g_file;
  16.  
  17.   int first_x1,first_y1,
  18.     first_x2,first_y2,
  19.     second_x1,second_y1,
  20.     second_x2,second_y2,
  21.     color1,
  22.     color2;
  23.  
  24. public :
  25.  
  26.   net_status_manager(char *graphic_file, 
  27.       int x1, int y1,
  28.       int x2, int y2,
  29.       int color1, int color2);
  30.  
  31.   virtual void push(char *name, visual_object *show);
  32.   virtual void update(int percentage);
  33.   virtual void pop();
  34. } ;
  35.  
  36. #endif
  37.  
  38.